STEP 12: Now that the letter counts are in a list, we can find which one was selected the most.

We can use Get Maximum to choose the list value that stores the highest letter count.

  • Go to and drag Get Maximum to the bottom of your program.
  • Change the name of the variable to result.
  • Change the list in max() to counts.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)